package day04_0624;

import java.util.Scanner;

public class Test3 {
    public static void main(String[] args) {
        //// i<10 :控制输入和判断的代码执行10次
        Scanner s=new Scanner(System.in);
        for(int i=1 ;   i<=10  ;i++ ){
            System.out.println("请输入您的成绩：");
            int score=s.nextInt();
            if(score>=0 && score<60){
                System.out.println("不及格");
            }else if(score>=60 && score<70){
                System.out.println("中等");
            }else if(score>=70 && score<85){
                System.out.println("良好");
            }else if(score>=85 && score<=10){
                System.out.println("优秀");
            }else{
                System.out.println("输入的数字有误");
            }
        }
    }
}


















